//
//  User.h
//  QinRen
//
//  Created by Donny on 15/3/16.
//  Copyright (c) 2015年 Donny. All rights reserved.
//

#import <Foundation/Foundation.h>
/*
 uid":"516","username":"13576928795","realname":"1","icon":"","funds":"0.00","Integral":"40.00","mshopid":"0","paypwd":"","groupid":"1","groupname":"普通会员组","discount":"100.00",
 */
@interface User : NSObject

/** 管家ID */
@property (nonatomic ,copy) NSString * employee_id;
/** 用户名 */
@property (nonatomic ,copy) NSString * employee_username;
/** 姓名 */
@property (nonatomic ,copy) NSString * employee_truename;
/**  */
@property (nonatomic ,copy) NSString * dept_id;
/** 性别 */
@property (nonatomic ,assign) NSInteger employee_gender;
/** 电话 */
@property (nonatomic ,copy) NSString * employee_phone;
/** 所属地区 */
@property (nonatomic ,copy) NSString * employee_address;
/** 头像 */
@property (nonatomic ,copy) NSString * employee_img;
/** 管理人数 */
@property (nonatomic ,assign) NSInteger customer_count;
/** 职务 */
@property (nonatomic ,copy) NSString * role_name;
/**  */
@property (nonatomic ,assign) NSInteger employee_type;
/** 环信用户名 */
@property (nonatomic ,copy) NSString * hx_username;
/** 环信登录密码 */
@property (nonatomic ,copy) NSString * hx_userpwd;
/** 默认管家群组id */
@property (nonatomic ,copy) NSString * hx_groupid;

@property (nonatomic ,assign) NSInteger  status;

@property (nonatomic ,copy) NSString * msg;

+ (User *)sharedUser;

- (void)setUserInfo:(NSDictionary *)userinfo;

@end
